Platform Explorer / Nuxeo Platform 2021.25

Extension point actions

Documentation

Allows to define the bulk actions.

A bulk action is a stream processing composed of one or more computations.

A bulk action can be made available through http APIs, default is false.

The bucket size determines the number of document ids per record at the scroller level, default is 100.

The batch size determines the number of document ids handled per transactions at the computation level, default is 25.

    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="100" name="internalAction"/>
        <action batchSize="25" bucketSize="100" httpEnabled="true" name="publicAction"/>
    </extension>

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.bulk.BulkActionDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-core-2021.25.8.jar /OSGI-INF/retention-and-hold-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- NOT httpEnabled -->
        <action batchSize="25" bucketSize="100" inputStream="retention/retentionExpired" name="retentionExpired"/>
      </extension>
  • nuxeo-core-2021.25.8.jar /OSGI-INF/deletion-action-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="50" bucketSize="100" inputStream="bulk/deletion" name="deletion"/>
      </extension>
  • nuxeo-drive-core-2021.25.8.jar /OSGI-INF/nuxeodrive-bulk-action-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="10" bucketSize="100" httpEnabled="false" inputStream="bulk/driveFireGroupUpdatedEvent" name="driveFireGroupUpdatedEvent"/>
      </extension>
  • nuxeo-platform-csv-export-2021.25.8.jar /OSGI-INF/csv-export-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="50" bucketSize="100" defaultQueryLimit="100000" defaultScroller="elastic" httpEnabled="true" inputStream="bulk/csvExport" name="csvExport" validationClass="org.nuxeo.ecm.platform.csv.export.validation.CSVExportValidation"/>
      </extension>
  • nuxeo-platform-imaging-core-2021.25.8.jar /OSGI-INF/imaging-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="50" bucketSize="100" httpEnabled="false" inputStream="bulk/recomputeViews" name="recomputeViews" validationClass="org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsActionValidation"/>
      </extension>
  • nuxeo-platform-video-2021.25.8.jar /OSGI-INF/video-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="1" bucketSize="2" inputStream="bulk/recomputeVideoConversion" name="recomputeVideoConversion" validationClass="org.nuxeo.ecm.platform.video.action.RecomputeVideoConversionsActionValidation"/>
      </extension>
  • nuxeo-core-bulk-2021.25.8.jar /OSGI-INF/bulk-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- Internal -->
        <action batchSize="25" bucketSize="100" inputStream="bulk/trash" name="trash" sequentialCommands="true"/>
        <action batchSize="25" bucketSize="100" inputStream="bulk/removeProxy" name="removeProxy"/>
        <action batchSize="25" bucketSize="100" inputStream="bulk/setSystemProperties" name="setSystemProperties"/>
        <!-- Exposed through REST API -->
        <action batchSize="25" bucketSize="100" httpEnabled="true" inputStream="bulk/setProperties" name="setProperties" validationClass="org.nuxeo.ecm.core.bulk.validation.SetPropertiesValidation"/>
      </extension>
  • nuxeo-automation-features-2021.25.8.jar /OSGI-INF/bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="10" bucketSize="100" httpEnabled="true" inputStream="bulk/automation" name="automation" validationClass="org.nuxeo.ecm.automation.core.operations.services.bulk.validation.AutomationBulkValidation"/>
    
        <action batchSize="10" bucketSize="100" defaultScroller="elastic" httpEnabled="true" inputStream="bulk/automationUi" name="automationUi" validationClass="org.nuxeo.ecm.automation.core.operations.services.bulk.validation.AutomationBulkValidation"/>
      </extension>
  • nuxeo-elasticsearch-core-2021.25.8.jar /OSGI-INF/bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="1000" enabled="true" inputStream="bulk/index" name="index"/>
      </extension>
  • nuxeo-core-storage-dbs-2021.25.8.jar /OSGI-INF/dbs-bulk-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- Internal -->
        <action batchSize="25" bucketSize="100" inputStream="bulk/updateReadAcls" name="updateReadAcls" sequentialCommands="true"/>
      </extension>
  • nuxeo-thumbnail-2021.25.8.jar /OSGI-INF/thumbnail-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="1" bucketSize="25" httpEnabled="false" inputStream="bulk/recomputeThumbnails" name="recomputeThumbnails"/>
      </extension>